package main

import (
	// "os"
	"github.com/henrylee2cn/pholcus/exec"
	// _ "github.com/henrylee2cn/pholcus_lib" // 此为公开维护的spider规则库
	_ "btspider_lib" // 同样你也可以自由添加自己的规则库
	_ "btspider_lib/woyaogexing"
	// "io/ioutil"
	// "regexp"
	// "fmt"
	// "encoding/json"
)

type jmsg struct{
	returncode int
}

type Server struct {
	ServerName string
	ServerIP   string
}

type Serverslice struct {
	Servers []Server
	Returncode int
}

func main() {
	exec.DefaultRun("gui")

	
	// var s Serverslice
	// str := `{"returncode":1,"servers":[{"serverName":"Shanghai_VPN","serverIP":"127.0.0.1"},{"serverName":"Beijing_VPN","serverIP":"127.0.0.2"}]}`
	// json.Unmarshal([]byte(str), &s)
	// fmt.Println(s)
}